#pragma once

#include <string>
#include <sstream>
#include <map>
#include <vector>

#include "Items.h"
#include "Consumable.h"
#include "Potion.h"
#include "Ether.h"
#include "PhoenixDown.h"
#include "ScreenMenu.h"

class Inventory
{
public:
	static const int MAXITEM = 99;
private:
	std::map<std::string, Items*> items;
	std::map<std::string, int> quantity;
	std::vector<std::string> sort0;
	ScreenMenu* inventorymenu;
public:
	Inventory(void);
	~Inventory(void);

	bool UseItem(std::string itemName);
	void AddItem(std::string itemName);
	ScreenMenu* GetInventory(int sort = 0);
};

